<div class="typesRegions view">
<h2><?php echo __('Types Region'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($typesRegion['TypesRegion']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($typesRegion['TypesRegion']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Created'); ?></dt>
		<dd>
			<?php echo h($typesRegion['TypesRegion']['created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Modified'); ?></dt>
		<dd>
			<?php echo h($typesRegion['TypesRegion']['modified']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Types Region'), array('action' => 'edit', $typesRegion['TypesRegion']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Types Region'), array('action' => 'delete', $typesRegion['TypesRegion']['id']), null, __('Are you sure you want to delete # %s?', $typesRegion['TypesRegion']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Types Regions'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Types Region'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Countries'), array('controller' => 'countries', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Country'), array('controller' => 'countries', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Countries'); ?></h3>
	<?php if (!empty($typesRegion['Country'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Name'); ?></th>
		<th><?php echo __('Continent Id'); ?></th>
		<th><?php echo __('Currency Id'); ?></th>
		<th><?php echo __('Photo Path'); ?></th>
		<th><?php echo __('Flag Path'); ?></th>
		<th><?php echo __('Center Latitude'); ?></th>
		<th><?php echo __('Center Longitude'); ?></th>
		<th><?php echo __('Nb Visits'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th><?php echo __('Types Region Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($typesRegion['Country'] as $country): ?>
		<tr>
			<td><?php echo $country['id']; ?></td>
			<td><?php echo $country['name']; ?></td>
			<td><?php echo $country['continent_id']; ?></td>
			<td><?php echo $country['currency_id']; ?></td>
			<td><?php echo $country['photo_path']; ?></td>
			<td><?php echo $country['flag_path']; ?></td>
			<td><?php echo $country['center_latitude']; ?></td>
			<td><?php echo $country['center_longitude']; ?></td>
			<td><?php echo $country['nb_visits']; ?></td>
			<td><?php echo $country['created']; ?></td>
			<td><?php echo $country['modified']; ?></td>
			<td><?php echo $country['types_region_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'countries', 'action' => 'view', $country['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'countries', 'action' => 'edit', $country['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'countries', 'action' => 'delete', $country['id']), null, __('Are you sure you want to delete # %s?', $country['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Country'), array('controller' => 'countries', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
